package pac;

/*public class twxt16 {
    while(cur!=null)
    {
        if(cur.val==key)
        {
            prey.next=cur.next;
            cur=cur.next;
        }
        else
        {
            prey=cur;
            cur=cur.next;
        }
    }
    if(head.val==key)
    {
        head=
    }
    if(k<0||k>size())
    {
        return null;
    }
    list fast;
    List slow;
    fast=head;
    slow=head;
    while(k-1>0)
    {
        fast=fast.next;
        k--;

    }
    while(fast!=null)
    {
        if(fast.next==null)
        {
            return slow;
        }
        fast=fast.next;
        slow=slow.next;
    }
}

 */
